<template>
  <div id="app">
    <el-container>
      <el-header> <div id="level1-1" style="display:inline">
        <div style="text-align: left;display: inline-block">
          <a href="">首页</a><el-divider direction="vertical"></el-divider>
          <a href="">个人中心</a><el-divider direction="vertical"></el-divider>
          <a href="">购物车</a><el-divider direction="vertical"></el-divider>
        </div>
        <div style="text-align:right; display: inline-block" >
          <a href="">登录</a>
        </div>
        <div style="width: 1200px;margin: 0 ">
        </div>
      </div></el-header>
      <el-main class="el-main">
        <template>
          <div style="width: 1400px;height:600px; display: inline-block">
            <h1>萌宠照片</h1>
            <el-carousel :interval="4000" type="card" height="600px" >
              <el-carousel-item v-for="item in 6" :key="item">
                <h3 class="medium">{{ item }}</h3>
              </el-carousel-item>
            </el-carousel>
          </div>
          <div>
            <div style="display:inline-block;text-align: center;width: 1400px;height: 800px;margin-top: 100px">
              <h1>详细信息</h1>
              <el-card style="width: 1200px;height: 400px;margin: 0 auto;font-size: 30px;text-align: center;background-color: #b1b1b1">
                <el-form label-width="80px" >
                  <el-form-item label="姓名">
                    ssss
                  </el-form-item>
                  <el-form-item label="年龄">
                    ssss
                  </el-form-item>
                  <el-form-item label="宠物详情介绍">
                    ssss
                  </el-form-item>
                  <el-form-item label="联系方式">
                    sss
                  </el-form-item>
                  <el-form-item >
                    <button>我要领养</button>
                  </el-form-item>
                </el-form>
              </el-card>
              <div>
              </div>
            </div>
        </template>
      </el-main>
    </el-container>
  </div>
</template>


<script>
export default {
  name: "animalsDetails"
}
</script>

<style scoped>
.el-header {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}
.el-main {
  background-color: #999999;
  color: #333;
  text-align: center;
  line-height: 20px;
  height: 1400px;
  background-repeat:no-repeat;
  background-attachment:fixed;
  background-size: cover;
}
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}

</style>